package com.bootdo.act.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.act.dao.TeamUserDao;
import com.bootdo.act.domain.TeamUserDO;
import com.bootdo.act.service.TeamUserService;



@Service
public class TeamUserServiceImpl implements TeamUserService {
	@Autowired
	private TeamUserDao teamUserDao;
	
	@Override
	public TeamUserDO get(Long id){
		return teamUserDao.get(id);
	}
	
	@Override
	public List<TeamUserDO> list(Map<String, Object> map){
		return teamUserDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return teamUserDao.count(map);
	}
	
	@Override
	public int save(TeamUserDO teamUser){
		return teamUserDao.save(teamUser);
	}
	
	@Override
	public int update(TeamUserDO teamUser){
		return teamUserDao.update(teamUser);
	}
	
	@Override
	public int remove(Long id){
		return teamUserDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return teamUserDao.batchRemove(ids);
	}
	
}
